#define layout(title)
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0">
    <!--[if lt IE 9]>
    <script src="http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js"></script> <![endif]-->
    <!–[if lt IE 9]>
    <script src="http://cdn.staticfile.org/livingston-css3-mediaqueries-js/1.0.0/css3-mediaqueries.js"></script>
    <![endif]–>
    <title>#(title)</title>
    <link rel="stylesheet" href="/Layui/css/layui.css">
    <link rel="stylesheet" href="/view/Common/Layout.css">
    #@css?()
</head>
<body>
<header>
    <div class="layui-main">
        <hgroup>
            <a class="logo"> <img src="/img/user01.png" alt="layui">
                <br/><span>MyBlog</span>
            </a>
        </hgroup>
        <nav class="layui-radius">
            <ul class="layui-nav" lay-filter="">
                <li class="layui-nav-item layui-this"><a href="#">#(_res.get("Home"))</a></li>
                <!--<li class="layui-nav-item"><a href="#">产品</a></li>-->
                <!--<li class="layui-nav-item"><a href="#">数据</a></li>-->
                <li class="layui-nav-item">
                    <a href="javascript:;">专题</a>
                    <dl class="layui-nav-child"> <!-- 二级菜单 -->
                        <dd><a href="/special/index">母亲节</a></dd>

                    </dl>
                </li>
            </ul>
            <form id="search" class="layui-form" action="">
                <input type="search" placeholder='#(_res.get("search"))' lay-verify="required" class="layui-input layui-radius"/>
            </form>
        </nav>
    </div>
</header>
<div class="layui-main" style="position: relative;top: 30px;">
    #@main?()
</div>
</body>
#@footer?()
<script src="/Layui/layui.js"></script>
<script>

    layui.config({
        base: '/layui/'
    });
    layui.use(['jquery','util','form','element'], function () {
        var form,element,util,$;
        $ =layui.jquery;
        form = layui.form();
        element = layui.element();
        util = layui.util;
        util.fixbar({
            bar1: true,
            click: function (type) {
                console.log(type);
                if (type === 'bar1') {
                    alert('点击了bar1')
                }
            }
        });
    });
</script>
#@js?()
</html>
#end